package com.itboye.pondteam.bean;

import java.io.Serializable;

/**
 * Created by Mr.w on 2017/3/21.
 */

public class DeviceDetailModel implements Serializable {
/**
 * "id": "1",
 "did": "10000001",
 "ver": "v1.0",
 "pwd": "abcdefgh",
 "ctrl_pwd": "12345678",//设备控制密码
 "last_login_time": "1490002694",//最近设备登录时间
 "hb": "60",//心跳周期（秒）
 "tcp_client_id": "76be2d4d0b5700000015",//TCP通道
 "last_login_ip": "112.16.93.124",//最近登录ip
 "create_time": "1970-01-01 08:00:00",//设备创建记录时间
 "update_time": "2017-03-20 17:38:14",//设备最近更新时间
 "cl_en": "1",//定时清洗开关：0：关 1：开
 "cl_week": "1",//二进制00000000  一比特 Bit0 - Bit6对应周一到周日 Bit设置为1表示使用，为0停止
 "cl_tm": "1200",//格式HHmm，UTC时间 ， 表示每天清洗的时间点
 "cl_dur": "1",//清洗时长设置  单位秒
 "cl_state": "3",//清洗状态  0：停止 1：清洗 2：暂停
 "cl_sche": "1",//清洗进度时间  当前清洗过程已经历的时间，单位秒
 "cl_cfg": "1",//二进制00000000 清洗设置  Bit0：清洗提示设置 1使能，0禁止 Bit1：异常报警设置
 1使能，0禁止
 "uv_on": "1300",//杀菌灯开启时间，格式hhmm，UTC时间
 "uv_off": "1400",//杀菌灯关闭时间，格式hhmm，UTC时间
 "uv_wh": "1",//杀菌灯累计工作时间  单位小时
 "uv_cfg": "1",//杀菌灯设置  Bit0：更换维护提示
 1使能，0禁止
 Bit1：异常报警
 1使能，0禁止
 "out_state_a": "1",备用插座A状态  0：插座断电
 1：插座通电
 "out_state_b": "1",
 备用插座B状态  0：插座断电
 1：插座通电
 "dev_lock": "1",
 //设备锁机状态  0：未锁机，可局域网查找
 1：锁机，局域网隐藏
 "upd_state": "55",
 固件更新状态  0 - 100：更新进度百分比，更新成功为100
 101：更新失败，硬件重启后该字段隐藏
 "is_disconnect": "1",
 //1表示设备可能断开了，这种情况下就需要app再次调用该接口进行获取，如果重试n（一般为3）次，都是1，则设备正式断开了，需要app提示说设备硬件重新连接。
 ""device_state": "999"//设备更新状态999为默认正常 ，
 //
 999: 无
 0：成功启动更新
 1：固件正在更新，该操作忽略
 2：固件信息错误，更新失败
 */
    /**
     * cl_cfg : 0
     * dev_lock : 0
     * uv_off : 0000
     * last_login_time : 1489475315
     * uv_wh : 0
     * cl_week : 0
     * update_time : 2017-03-14 15:08:34
     * tcp_client_id :
     * uv_cfg : 0
     * last_login_ip : 112.16.93.124
     * is_disconnect : 1
     * cl_en : 0
     * uv_on : 0000
     * id : 4
     * upd_state : 0
     * ver : v1.0
     * create_time : 1970-01-01 08:00:00
     * cl_dur : 0
     * ctrl_pwd : 12345678
     * cl_state : 0
     * cl_sche : 0
     * cl_tm : 0000
     * device_state : 999
     * hb : 30
     * out_state_a : 0
     * out_state_b : 0
     * pwd : abcdefgh
     * did : S0100000000001
     */
    private String cl_cfg;
    private String dev_lock;
    private String uv_off;
    private String last_login_time;
    private String uv_wh;
    private String cl_week;
    private String update_time;
    private String tcp_client_id;
    private String uv_cfg;
    private String last_login_ip;
    private String is_disconnect;
    private String cl_en;
    private String uv_on;
    private String id;
    private int upd_state;
    private String ver;
    private String create_time;
    private int cl_dur;
    private String ctrl_pwd;
    private String cl_state;
    private String cl_sche;
    private String cl_tm;
    private String device_state;
    private String hb;
    private String out_state_a;
    private String out_state_b;
    private String pwd;
    private String did;
    private String device_nickname;
    private String nickname_a;
    private String nickname_b;
        private double t;

    public double getT() {
        return t;
    }

    public void setT(double t) {
        this.t = t;
    }

    public String getNickname_a() {
        return nickname_a;
    }

    public void setNickname_a(String nickname_a) {
        this.nickname_a = nickname_a;
    }

    public String getNickname_b() {
        return nickname_b;
    }

    public void setNickname_b(String nickname_b) {
        this.nickname_b = nickname_b;
    }

    public String getDevice_nickname() {
        return device_nickname;
    }

    public void setDevice_nickname(String device_nickname) {
        this.device_nickname = device_nickname;
    }

    public void setCl_cfg(String cl_cfg) {
        this.cl_cfg = cl_cfg;
    }

    public void setDev_lock(String dev_lock) {
        this.dev_lock = dev_lock;
    }

    public void setUv_off(String uv_off) {
        this.uv_off = uv_off;
    }

    public void setLast_login_time(String last_login_time) {
        this.last_login_time = last_login_time;
    }

    public void setUv_wh(String uv_wh) {
        this.uv_wh = uv_wh;
    }

    public void setCl_week(String cl_week) {
        this.cl_week = cl_week;
    }

    public void setUpdate_time(String update_time) {
        this.update_time = update_time;
    }

    public void setTcp_client_id(String tcp_client_id) {
        this.tcp_client_id = tcp_client_id;
    }

    public void setUv_cfg(String uv_cfg) {
        this.uv_cfg = uv_cfg;
    }

    public void setLast_login_ip(String last_login_ip) {
        this.last_login_ip = last_login_ip;
    }

    public void setIs_disconnect(String is_disconnect) {
        this.is_disconnect = is_disconnect;
    }

    public void setCl_en(String cl_en) {
        this.cl_en = cl_en;
    }

    public void setUv_on(String uv_on) {
        this.uv_on = uv_on;
    }

    public void setId(String id) {
        this.id = id;
    }

    public void setUpd_state(int upd_state) {
        this.upd_state = upd_state;
    }

    public void setVer(String ver) {
        this.ver = ver;
    }

    public void setCreate_time(String create_time) {
        this.create_time = create_time;
    }

    public void setCl_dur(int cl_dur) {
        this.cl_dur = cl_dur;
    }

    public void setCtrl_pwd(String ctrl_pwd) {
        this.ctrl_pwd = ctrl_pwd;
    }

    public void setCl_state(String cl_state) {
        this.cl_state = cl_state;
    }

    public void setCl_sche(String cl_sche) {
        this.cl_sche = cl_sche;
    }

    public void setCl_tm(String cl_tm) {
        this.cl_tm = cl_tm;
    }

    public void setDevice_state(String device_state) {
        this.device_state = device_state;
    }

    public void setHb(String hb) {
        this.hb = hb;
    }

    public void setOut_state_a(String out_state_a) {
        this.out_state_a = out_state_a;
    }

    public void setOut_state_b(String out_state_b) {
        this.out_state_b = out_state_b;
    }

    public void setPwd(String pwd) {
        this.pwd = pwd;
    }

    public void setDid(String did) {
        this.did = did;
    }

    public String getCl_cfg() {
        return cl_cfg;
    }

    public String getDev_lock() {
        return dev_lock;
    }

    public String getUv_off() {
        return uv_off;
    }

    public String getLast_login_time() {
        return last_login_time;
    }

    public String getUv_wh() {
        return uv_wh;
    }

    public String getCl_week() {
        return cl_week;
    }

    public String getUpdate_time() {
        return update_time;
    }

    public String getTcp_client_id() {
        return tcp_client_id;
    }

    public String getUv_cfg() {
        return uv_cfg;
    }

    public String getLast_login_ip() {
        return last_login_ip;
    }

    public String getIs_disconnect() {
        return is_disconnect;
    }

    public String getCl_en() {
        return cl_en;
    }

    public String getUv_on() {
        return uv_on;
    }

    public String getId() {
        return id;
    }

    public int getUpd_state() {
        return upd_state;
    }

    public String getVer() {
        return ver;
    }

    public String getCreate_time() {
        return create_time;
    }

    public int getCl_dur() {
        return cl_dur;
    }

    public String getCtrl_pwd() {
        return ctrl_pwd;
    }

    public String getCl_state() {
        return cl_state;
    }

    public String getCl_sche() {
        return cl_sche;
    }

    public String getCl_tm() {
        return cl_tm;
    }

    public String getDevice_state() {
        return device_state;
    }

    public String getHb() {
        return hb;
    }

    public String getOut_state_a() {
        return out_state_a;
    }

    public String getOut_state_b() {
        return out_state_b;
    }

    public String getPwd() {
        return pwd;
    }

    public String getDid() {
        return did;
    }
}
